package com.infomanage.util;

public class StringUtil {

	public static boolean isEmpty(String str){
		if(str == null || "".equals(str))
			return true;
		return false;
	}
	
	public static String filterIllegalchar(String str){
		if(str == null)
			return null;
		return str.replaceAll("'", "\\\\'").replaceAll("\\r|\\n", "").replaceAll("\"", "");
	}
}
